package net.lzzy.practices.web.models;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/*
 * @author admin
 */
@Getter
@Setter
@ApiModel(description = "注册参数")
public class RegisterInfo  {
    @ApiModelProperty(value = "昵称", required = true)
    private  String nick;
    @ApiModelProperty(value = "用户名,不能少于三个字符", required = true)
    private  String user;
    @ApiModelProperty(value = "手机号", required = true)
    private  String phone;
    @ApiModelProperty(value = "邮箱", required = true)
    private  String email;
    @ApiModelProperty(value = "密码", required = true)
    private  String pwd;
    @ApiModelProperty(value = "头像", required = true)
    private  String avatar;
    @ApiModelProperty(value = "是否是老师", required = true)
    private  boolean teacher;



}
